//
//  main.h
//  MyTryForMapping2
//
//  Created by Артемий Соболев on 26.03.12.
//  Copyright (c) 2012 avriy@me.com. All rights reserved.
//
#include <fcntl.h>
#import <errno.h>
#include <vector>

#define max(a,b) (a>=b)?a:b
#define buffersiz BUFSIZ*BUFSIZ


int createTemporaries(int number);
void newSliceFunction(char *pointer, int size);
void stepReading(int fd, int size);
void unlinkTmp();